﻿
<div class="panel panel-default padding-empty">
    <div class="panel-body padding-empty">
        <ol class="breadcrumb margin-empty">
            <li class="breadcrumb-color"><i class="fa fa-home"></i>&nbsp;主页</li>
            <li><a href="#/examPlan/list" class="breadcrumb-link">考试计划管理</a></li>
            <li class="active">{{planName}} - 考场管理</li>
        </ol>
    </div>
</div>

<div class="panel panel-default">
    <!--<div class="panel-heading">
        <h3 class="modal-title">
            <i class="fa-desktop"></i>
            {{planName}} - 考场管理
            &nbsp;
            <button class="btn btn-turquoise btn-xs" onclick="window.location.href = '#/examPlan/list';" title="返回上一页" style="margin-bottom: 0;">
                <i class="fa fa-chevron-left"></i>
            </button>
        </h3>

        <div class="panel-options">
        </div>
    </div>-->

    <div class="panel-body">
        <table class="table responsive table-bordered table-hover">
            <tr class="active">
                <th class="text-center">#</th>
                <th>考场</th>
                <th>考试机数</th>
                <th>考场设置状态</th>
                <th>操作</th>
            </tr>
            <tr ng-repeat="item in list">
                <!--序号-->
                <td class="text-center">{{$index+1}}</td>
                <!--考场-->
                <td title="{{item.examRoomName}}">
                    {{item.examRoomName | formatLongStr}}
                </td>
                <!--考试机数-->
                <td>
                    {{item.machineNum}}
                </td>
                <!--考场设置状态-->
                <td>
                    {{item.isSetUp ? '已完成' : '未完成'}}
                </td>
                <!--操作-->
                <td>
                    <button class="btn btn-turquoise btn-sm" ng-click="setting(item)">
                        <i class="fa fa-cog"></i>
                        考场设置
                    </button>
                </td>
            </tr>
        </table>

        <h3 ng-show="list.length<=0" class="text-center">
            <small>暂无相关数据</small>
        </h3>
    </div>
</div>
